package com.example.emqx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("devices_emq_payload")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DevicesEmqPayload {
    // 自动增长
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String msg;
    private String msgId;
    private String qos;
    private String topic;


}
